package com.xcesys.extras.dataobject;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * A class represents a name-stringValue pair style data.
 * 
 * @author Danne
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NameValuePair")
public class NameValuePair implements Serializable {

	private static final long serialVersionUID = -7855907637789222045L;

	private String name;

	private String value;

	public NameValuePair() {
	}

	public NameValuePair(String name, String value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public String getValue() {
		return value;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setValue(String xxx) {
		this.value = xxx;
	}

}
